Index: trunk/ippTools/src/difftool.c
===================================================================
--- trunk/ippTools/src/difftool.c	(revision 21005)
+++ trunk/ippTools/src/difftool.c	(revision 21019)
@@ -944,5 +944,5 @@
     PXOPT_COPY_S64(config->args, expWhere, "-exp_id", "exp_id", "==");
     PXOPT_COPY_S64(config->args, warpWhere, "-warp_id", "warpRun.warp_id", "==");
-    PXOPT_COPY_STR(config->args, warpWhere, "-skycell_id", "warpRun.skycell_id", "==");
+    PXOPT_COPY_STR(config->args, warpWhere, "-skycell_id", "warpSkyfile.skycell_id", "==");
     PXOPT_COPY_STR(config->args, warpWhere, "-tess_id", "warpRun.tess_id", "==");
     PXOPT_COPY_STR(config->args, warpWhere, "-filter", "rawExp.filter", "==");
@@ -1061,5 +1061,5 @@
         // Take the first warp for each exposure.
         // The list is sorted by exposure id and warp_id and the warps are in descending
-        // order. 
+        // order.
         psS64 exp_id = psMetadataLookupS64(&mdok, row, "exp_id");
         if (!mdok) {
@@ -1127,5 +1127,5 @@
 
         if (!available && (num != skycell_count)) {
-            psTrace("difftool", PS_LOG_INFO, "%" PRId64 " skyfiles with stack found for warp_id %" 
+            psTrace("difftool", PS_LOG_INFO, "%" PRId64 " skyfiles with stack found for warp_id %"
                 PRId64 " need %" PRId64, num, skycell_count, warp_id);
             continue;
