Replace 'out_of_range' with 'below_minimum' and 'above_maximum'