Fix: Summary email grouping

We fixed an issue where in some situations your users wouldn't be grouped into their departments correctly in summary emails.

We also fixed a rare display issue on the billing page.