Fix bug in relevant_phenotype_attempt_status.
Fix bug in create_for_mi_attempt.
Add new update tasks.