Fix plugin check with $is_plugin_page