Fix error when calling get_selection() after any (selected) row was removed