[hibernate-issues] [JIRA] (HHH-5743) Criteria isMember() creates broken SQL in joined queries