Added directives for cat_search and tag_search