Fix bug in HibernateGroovyObjectMethodHandler (IllegalStateException problems)