Fix for group() if chained with an aggregator