fixed bug when 2 groups existing in a single query where the aggregations of the second were not mapped.