Fixed error message formatting bug in get_final_conditions