Fix bug with tags search