Patching the NaN target_temp_countdown bug.