Okay, I tried to look into it further and while I can't replicate the bug on my end, I've made some changes that may fix the problem. Since I can't see the results on my end, I can't be for sure.
The illegal characters should be "<", ">", "[", "]", "\\" and "/", as well as placing a space (" ")...