Index: trunk/ippMonitor/czartool/czartool/Gpc1Db.pm
===================================================================
--- trunk/ippMonitor/czartool/czartool/Gpc1Db.pm	(revision 32539)
+++ trunk/ippMonitor/czartool/czartool/Gpc1Db.pm	(revision 32564)
@@ -233,5 +233,6 @@
 
     }
-    else {
+    # 'new' stuff really includes 'update' stuff, at least for LAP. This is a hack, but there you go    
+    elsif ($state eq "new") {
 
         $query = $self->{_db}->prepare(<<SQL);
@@ -239,5 +240,14 @@
             FROM $table 
             WHERE label LIKE '$label' 
-            AND state = '$state'
+            AND (state = 'new' OR state = 'update')
+SQL
+    }
+    else {
+
+        $query = $self->{_db}->prepare(<<SQL);
+        SELECT COUNT(state)  
+            FROM $table 
+            WHERE label LIKE '$label' 
+            AND state = 'new'
 SQL
     }
