fix assert for grails 2.2.1