Fixed the Local Flag in Ontology.Query so it will only return nodes that are defined by the ontology being queried