Should previously selected rows of a table (via row checkboxes) be retained when the user uses a search box to search for a table entry?

Context: I have a table with checkboxes at the beginning of every row. The user can select the rows and click on the top right button "Actions" to say "Delete checked items" etc. I also have a search functionality where the user can search for a given table entry.

The question is, if say the user has selected a few rows and proceeds to search for a specific item - in which case the table shows that particular successfully searched item only, does the user expect his previously checked rows to stay checked?