Fix plugin check for BaseUrlHandlerPlugin