This change fixes bugs in the PhenotypePage and PhenotypeTablePhenotype classes that affect the PhenotypePageTest. Those tests should succeed now, or reveal proper errors if they fail.