Fix invalid grouping on summary index