Fixes broken cancel event in report_post

Related to #4720