search action no longer yields duplicate tags in the tags key (how it does this could be improved)