Fix the publish/ordering error when the plugin is not installed