Prevent range-mode logic from bleeding into like/not like/check mode logic.