The value should not be updated if the current first_invalid_line is less than the new invalid line index