[hibernate-issues] [JIRA] (HHH-16721) HQL with subquery with entity path at least two deep produces wrong SQL