Modify metrics filter for ontology diagnostics.