Fix wrong HQL select recurrings