MDL-45073 report_log: Fixed wrong class check and api