Adds monthly groupings
Fixing bug where header row was left in date calculation