Fixed weekly/period summary report which was reusing wrong date ranges