Fix paginate StackOverflowError

See: https://github.com/Grails-Plugin-Consortium/grails-filterpane-demo/issues/2
Merge pull request #21 from aberbenni/master

Fix paginate StackOverflowError