Adds exception handling in tree_of_life_mrca.