changes to tags_search

some checks if there is no such tag in DB