If you put a modifier in a single castsequence, you will reset it every time the modifier status changes. You have to separate them with semicolons, I believe, to prevent that.