testGetFactorsByPhenotypicType() bug fix