[hibernate-issues] [JIRA] (HHH-10081) Use of subcriterias produce inconsistent results