Tagging fix

Ensures tags are initialized as a Set.