Maybe is a better fit to add here `and not report.is_passive` and remove the following two lines.