user search – correct pattern to select while you can search

Situation: we have a list of elements, which can be selected multiple. However, we can also have a search field that allows us to filter the list.

Problem: Let's say I have a large list of items. I selected several elements on the first page of a table, then entered a new query in a search field, selected several more elements and then deleted the search query. I see a complete list again, however, I do not know what I have selected.

Example:
1) I select several articles on a first page of a table;
2) I look for several articles that are on, say, page of the fifth table;
3) I delete the search query

Question: How to adequately inform a user, what have you selected? Have you ever seen a similar search + select pattern?

enter the description of the image here