Fixed up phenotype bioent_reference retreival.