Because macro you made is trying to change all items at the same time which is impossible. You would have to add some delays and cooldowns, but it's interesting idea, I.'ll do it later, when I'm home.
Check in few days
For now give me full list of items for each set
Check in few days
For now give me full list of items for each set