[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-3743) MININDEX function applied on entity of many-to-many mapped collection yields incorrect SQL