Fix export of selected contacts from search result (#1488905)