Index: trunk/ippMonitor/czartool/czartool/CzarDb.pm
===================================================================
--- trunk/ippMonitor/czartool/czartool/CzarDb.pm	(revision 32567)
+++ trunk/ippMonitor/czartool/czartool/CzarDb.pm	(revision 32601)
@@ -682,5 +682,5 @@
             # 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) {
+            if (($thisProcessed - $lastProcessed)/(($timeSep/3600)+1) > 1000) {
                 $positiveJump = $thisProcessed - $lastProcessed;
             }
@@ -702,7 +702,7 @@
 
             # calculate first derivative in units of images per hour
-            $derivPending = $diffPending/($timeSep/3600); 
-            $derivFaults = $diffFaults/($timeSep/3600); 
-            $derivProcessed = $diffProcessed/($timeSep/3600); 
+            $derivPending = $diffPending/($timeSep/3600 +1); 
+            $derivFaults = $diffFaults/($timeSep/3600 +1); 
+            $derivProcessed = $diffProcessed/($timeSep/3600 +1); 
 
         }
