Index: /tags/ipp-20110622/ippTools/share/chiptool_setimfiletoupdate.sql
===================================================================
--- /tags/ipp-20110622/ippTools/share/chiptool_setimfiletoupdate.sql	(revision 32571)
+++ /tags/ipp-20110622/ippTools/share/chiptool_setimfiletoupdate.sql	(revision 32572)
@@ -10,5 +10,5 @@
 WHERE chip_id = %lld
     AND (chipRun.state = 'cleaned' OR chipRun.state = 'update')
-    AND (chipProcessedImfile.data_state = 'cleaned')
+    AND (chipProcessedImfile.data_state = 'cleaned' OR chipProcessedImfile.data_state = 'error_cleaned')
     -- don't queue update if the associated magicDSFile exists and isn't cleaned
     AND (chipRun.magicked = 0 
Index: /tags/ipp-20110622/ippTools/share/difftool_setskyfiletoupdate.sql
===================================================================
--- /tags/ipp-20110622/ippTools/share/difftool_setskyfiletoupdate.sql	(revision 32571)
+++ /tags/ipp-20110622/ippTools/share/difftool_setskyfiletoupdate.sql	(revision 32572)
@@ -7,3 +7,3 @@
 WHERE diff_id = %lld
     AND (diffRun.state = 'cleaned' OR diffRun.state = 'update')
-    AND (diffSkyfile.data_state = 'cleaned' OR diffSkyfile.data_state = 'update')
+    AND (diffSkyfile.data_state = 'cleaned' OR diffSkyfile.data_state = 'update'OR diffSkyfile.data_state ='error_cleaned')
Index: /tags/ipp-20110622/ippTools/share/warptool_setskyfiletoupdate.sql
===================================================================
--- /tags/ipp-20110622/ippTools/share/warptool_setskyfiletoupdate.sql	(revision 32571)
+++ /tags/ipp-20110622/ippTools/share/warptool_setskyfiletoupdate.sql	(revision 32572)
@@ -7,3 +7,3 @@
 WHERE warp_id = %lld
     AND (warpRun.state = 'cleaned' OR warpRun.state = 'update')
-    AND (warpSkyfile.data_state = 'cleaned' OR warpSkyfile.data_state = 'update')
+    AND (warpSkyfile.data_state = 'cleaned' OR warpSkyfile.data_state = 'update'OR warpSkyfile.data_state = 'error_cleaned')
