MDL-45343 report_log: Fix missing enddate clause when using date filter