Tag search and delete concatenation on query