fix post aggs with group by in #472

Uses the test case in #592 (with a minor change of using doubles for post aggs instead of longs).
same thing here, the behavior of cardinality on multiple columns is not the same as on individual columns, so this will not produce the expected behavior