Fix time comparison methods for report generation