Fixed MyURL infinite loop with wrong % position.

* Add Condition throws error when % is at last or other