Fix bug with unique daily totals