Actually check range location and length when deciding wether to keep selection (#41)

otherwise if *N*SNotFound was the top match for *N* after typing *NO* it would be kept as NS*No*tfound