Maintain the selected tags on the text search.