Changed conditions of input_number_in_range