[hibernate-issues] [Hibernate-JIRA] Updated: (OGM-63) Remove unused code branches and unnecessary null checks