9636: fix selection range