Index: trunk/cleanup.php
===================================================================
--- trunk/cleanup.php	(revision 16)
+++ trunk/cleanup.php	(revision 17)
@@ -344,4 +344,6 @@
    $noiseIDs   = array();
    $modelGUIDs = array();
+   $mrecsIDs   = array();
+   $fns_used   = array();
 
    foreach ( $files as $file )
@@ -362,4 +364,9 @@
       if ( preg_match( "/mdl.tmp$/", $fn ) )
          continue;
+
+      if ( in_array( $fn, $fns_used ) )
+         continue;
+
+      $fns_used[] = $fn;
 
       if ( filesize( $fn ) < 100 )
