Index: /trunk/ippTools/share/chiptool_pendingcleanupimfile.sql
===================================================================
--- /trunk/ippTools/share/chiptool_pendingcleanupimfile.sql	(revision 35428)
+++ /trunk/ippTools/share/chiptool_pendingcleanupimfile.sql	(revision 35429)
@@ -13,6 +13,9 @@
     USING(chip_id)
 WHERE
-    ((chipRun.state = 'goto_cleaned' AND (chipProcessedImfile.data_state = 'full'
-                                       OR chipProcessedImfile.data_state = 'update') AND chipProcessedImfile.quality = 0)
+    ((chipRun.state = 'goto_cleaned'
+        AND (chipProcessedImfile.data_state = 'full'
+          OR chipProcessedImfile.data_state = 'update'
+          OR chipProcessedImfile.data_state = 'error_cleaned')
+        AND chipProcessedImfile.quality = 0)
 OR 
     (chipRun.state = 'goto_scrubbed' AND chipProcessedImfile.data_state != 'scrubbed')
Index: /trunk/ippTools/share/warptool_pendingcleanupskyfile.sql
===================================================================
--- /trunk/ippTools/share/warptool_pendingcleanupskyfile.sql	(revision 35428)
+++ /trunk/ippTools/share/warptool_pendingcleanupskyfile.sql	(revision 35429)
@@ -10,7 +10,9 @@
     USING(warp_id)
 WHERE
-   ((warpRun.state = 'goto_cleaned'  AND (warpSkyfile.data_state = 'full'
-                                      OR  warpSkyfile.data_state = 'update')
-    AND warpSkyfile.quality = 0)
+   ((warpRun.state = 'goto_cleaned'  
+       AND (warpSkyfile.data_state = 'full'
+          OR  warpSkyfile.data_state = 'error_cleaned'
+          OR  warpSkyfile.data_state = 'update')
+       AND warpSkyfile.quality = 0)
     OR
     (warpRun.state = 'goto_scrubbed' AND warpSkyfile.data_state != 'scrubbed')
