Updated .in_range() according to conversion rules