Fix selecting bug in filtered list.