Fixed missing $ in aggregation