Updated to ensure only action is taken on supported taxonomies.