Index: /trunk/cleanup.php
===================================================================
--- /trunk/cleanup.php	(revision 23)
+++ /trunk/cleanup.php	(revision 24)
@@ -413,5 +413,6 @@
          file_put_contents( "$output_dir/$fn", $xml );    // Copy to submit dir
 
-         $file_type = "jobstats";
+         $file_type = "job_stats";
+         $id        = 1;
       }
 
@@ -536,4 +537,7 @@
          $result = mysql_query( $query, $us3_link );
       }
+
+      else      // Undetermined type:  skip result data update
+         continue;
 
       $query = "INSERT INTO HPCAnalysisResultData SET "       .
