Fixes #2438. Fixing several issues regarding Ontology/Annotation import tool

Change-Id: Ia4846f98e067a48b4d098a8225d3d952ce32af3a