Modified isInOwnRange

Both comparisons compare in the same direction