bug 838570 - selection code can sometimes leak a range r=smaug