Index: /trunk/DNSDB.pm
===================================================================
--- /trunk/DNSDB.pm	(revision 441)
+++ /trunk/DNSDB.pm	(revision 442)
@@ -821,5 +821,5 @@
       $pcsth->execute($checkme);
       my ($rc) = $pcsth->fetchrow_array;
-      return ('FAIL', "Only one template pseudorecord may exist for a given IP block") if $rc;
+      return ('FAIL', "Only one template pseudorecord may exist for a given IP block") if $rc > 1;
     }
 
