[hibernate-issues] [JIRA] (HHH-3304) Where clause causes query to select from sub-class table