[Mercy/Ernesto] - Fixing date range bug when generating report