GRAILS-10047 - fix binding to a class with no bindable properties