Fix message count grouping by day (again)