Index: trunk/grails-app/domain/Asset.groovy
===================================================================
--- trunk/grails-app/domain/Asset.groovy	(revision 722)
+++ trunk/grails-app/domain/Asset.groovy	(revision 723)
@@ -53,10 +53,10 @@
         if(ids instanceof String) {
                 if(ids.isInteger())
-                    idList << ids.toInteger()
+                    idList << ids.toLong()
         }
         else {
             ids.each() {
                 if(it.isInteger())
-                    idList << it.toInteger()
+                    idList << it.toLong()
             }
         }
Index: trunk/grails-app/domain/Person.groovy
===================================================================
--- trunk/grails-app/domain/Person.groovy	(revision 722)
+++ trunk/grails-app/domain/Person.groovy	(revision 723)
@@ -58,10 +58,10 @@
         if(ids instanceof String) {
                 if(ids.isInteger())
-                    idList << ids.toInteger()
+                    idList << ids.toLong()
         }
         else {
             ids.each() {
                 if(it.isInteger())
-                    idList << it.toInteger()
+                    idList << it.toLong()
             }
         }
@@ -75,10 +75,10 @@
         if(ids instanceof String) {
                 if(ids.isInteger())
-                    idList << ids.toInteger()
+                    idList << ids.toLong()
         }
         else {
             ids.each() {
                 if(it.isInteger())
-                    idList << it.toInteger()
+                    idList << it.toLong()
             }
         }
