fixed bag grouping in a px counts query.