Fixed offline ontology loading bug