Fixed error with loading the trait page for phenotype traits