Fix for calling contains with values smaller than the offset/min value
in range.