Fix bugs in TotalReportController -> detail page -> select calendar.