fix selection of row after delete