remove trailing occurrences of org.hibernate.mapping.JoinedSubclass