Fixed bug in aggregator when no data is returned