REPORT-704 - Bug in HqlQueryBuilder for non-trivial select clauses