Index: trunk/ippTools/share/difftool_setskyfiletoupdate.sql
===================================================================
--- trunk/ippTools/share/difftool_setskyfiletoupdate.sql	(revision 30544)
+++ trunk/ippTools/share/difftool_setskyfiletoupdate.sql	(revision 30569)
@@ -7,3 +7,3 @@
 WHERE diff_id = %lld
     AND (diffRun.state = 'cleaned' OR diffRun.state = 'update')
-    AND (diffSkyfile.data_state = 'cleaned' AND diffSkyfile.data_state = 'update')
+    AND (diffSkyfile.data_state = 'cleaned' OR diffSkyfile.data_state = 'update')
