fixed a bug in the nested aggregator, where the aggregations where build multiple times