prevented plugin from restricting posts if post type is not selected in settings