Always setSingleRange after selecting node contents