Bug Fix in Aggregation of Statistics