Add optional parameter to filter returned group states, default to not returning per-group states.