`collection.aggregator.childAggregators.length > 0` - I'd change this to:

`collection.isAggregatable()` which in turn calls a new method on AggregatorGroup `hasChildAggregators()` which in turn checks the length.