Fixes issue with Ontology conditions (e.g. HPO) where the popup tooltip and
gene dialog for each ontology term was sometimes incorrect