Fix duplicate tag issue on Categorized tab.