fixed latest_phenotype_status for getting the right status for preqc2
entity