Fix paginate StackOverflowError

See: https://github.com/Grails-Plugin-Consortium/grails-filterpane-demo/issues/2