Fixed bug on Aggregates.