Resolved bug that was present in phenotype template creation.