HHH-9090 - HQL: parser is trying to reuse parent implied join for subquery