Add maxQuery to CriteriaTranslator