Index: trunk/ippTools/src/difftool.c
===================================================================
--- trunk/ippTools/src/difftool.c	(revision 23921)
+++ trunk/ippTools/src/difftool.c	(revision 23922)
@@ -1322,5 +1322,9 @@
 
     if (!rerun) {
-        psStringAppend(&whereClause, "\n%s diffRun.diff_id IS NULL", whereClause ? "AND" : "WHERE");
+        psStringAppend(&whereClause, "\n%s (diffRun.diff_id IS NULL", whereClause ? "AND" : "WHERE");
+        if (label) {
+            psStringAppend(&whereClause, " OR diffRun.label != %s", label);
+        }
+        psStringAppend(&whereClause, ")");
     }
 
@@ -1815,5 +1819,5 @@
 
     if (clean) {
-        bool success = true; 
+        bool success = true;
         if (!strcmp(tables[i].tableName, "diffRun")) {
             success = pxSetStateCleaned("diffRun", "state", output);
