Modified PluginFilter.accept() method