fix for GRAILS-11813 "Unable to do grails run-app on 2.4.4 with mongodb 3.0.2 and latest gorm"