Made range exclude target value