Fixed bug with tags and search