Fix is_plugin_inactive error