Fixed messed up task chain