I was messing around with command blocks and I wanted to set up an array of command blocks to give me the highest level of each enchant, You can see what happens in the provided giphy link. I also tried different levels afterwards, the levels are fine, it's just that i am only given protection 1, 2, 3, 4, etc... and nothing else, no projectile protection 1, 2, 3, 4, etc...
https://giphy.com/gifs/3o6ZtdO5vhhsbInyGA
I would have uploaded the GIF directly to here but the file was too large.
Enchantment id is a short tag, not a string tag. Use numeric id.