Index: /trunk/tools/czartool/CzarDb.pm
===================================================================
--- /trunk/tools/czartool/CzarDb.pm	(revision 32067)
+++ /trunk/tools/czartool/CzarDb.pm	(revision 32068)
@@ -679,4 +679,14 @@
             $diffFaults = $thisFaults - $lastFaults;
 
+            # First, look for large positive jumps in processed, most likely a label 
+            # added, and store value to subtract from linear value below. If > 1000
+            # processed per hour, then it must be wrong
+            if (($thisProcessed - $lastProcessed)/($timeSep/3600) > 1000) {
+                $positiveJump = $thisProcessed - $lastProcessed;
+            }
+            else {
+
+                $positiveJump = 0;
+            }
             # we only count increases in processing - drops are due to cleanup etc
             if ($thisProcessed > $lastProcessed) {
@@ -696,12 +706,4 @@
             $derivProcessed = $diffProcessed/($timeSep/3600); 
 
-            # look for large positive jumps in processed, most likely a label added, and store value to subtract from linear value below
-            if ($derivProcessed > 1000) {
-                $positiveJump = $thisProcessed - $lastProcessed;
-            }
-            else {
-
-                $positiveJump = 0;
-            }
         }
         # first time in
