Refactored processing of sets and artist names.