could you group by state too? to get the correct numbers for unassigned and active (...) for primaries and secondaries?