Fixed issue with selecting ontology from the tree view.