fixed totals for grouping queries

`report_to_list` is pretty feature-full at this point, but also pretty complicated.  It could stand for some testing and refactoring to chase out the dragons.  I'll try to get to that...