[hibernate-issues] [JIRA] (HHH-16472) Treated left join with restriction on entity results in incorrect query