GRAILS-10984 - StackOverflow with circular dependencies