--- cups-1.2.8/scheduler/ipp.c.get_jobs	2007-03-13 14:26:39.000000000 +0000
+++ cups-1.2.8/scheduler/ipp.c	2007-03-13 14:26:41.000000000 +0000
@@ -5912,9 +5912,6 @@
     if ((job->dtype & dmask) != dtype &&
         (!job->printer || (job->printer->type & dmask) != dtype))
       continue;
-    if (username[0] && strcasecmp(username, job->username))
-      continue;
-
     if (completed && job->state_value <= IPP_JOB_STOPPED)
       continue;
 
@@ -5926,6 +5923,9 @@
     if (!job->attrs)
       continue;
 
+    if (username[0] && strcasecmp(username, job->username))
+      continue;
+
     if (count > 0)
       ippAddSeparator(con->response);
 
