Fix stale aggregation bug