Okay, I found the problem. The program used to insert variables in a smart way, but now they switched to a dumb way which will lead to invalid selectors if the wrong characters are in the variable's value. Selectors are XML, so it's characters like " ' > etc.
Why???????????
