Fixed bug in set_report_publish_status