Replace tag-list with a python set