RF-13941: fix selection of all rows