MediaListView: fixes deleting of pieces when there is an active search.