Keep track of selected items if they disappear from the list