address some ontology term merging issues. Refs #832