Fixed phenotype deletion problem.