Adding a workaround for http://jira.grails.org/browse/GRAILS-7750