Query substitution parameters for aggregate queries have been implemented