Updated ReportingController to handle date ranges more accurately.
Merge branch 'reporting'

* reporting:
  Updated ReportingController to handle date ranges more accurately.