Fix for findWhere GRAILS-10982