Fix ResultAggregator ordering bug