fix for GRAILS-10115 "Incorrect bidirectional association mapping"