Fix row selection when deleting multiple rows.