Check for ontology id rather than ontology object, re #8671
Check for ontology id rather than ontology object, re #8671

archesproject/arches,archesproject/arches,archesproject/arches,archesproject/arches