Grab a list of enabled plugins and iterate through, rather than grabbing a list of all plugins and attempting to match against the enabled ones.