Fixed bug that prevented the plugin end event from being sent for import and report plugins.