Correctly group and aggregate sanitation stats