An idea. If you are just trying to change the rack state to the same number as the program change you appear to be using to select the state with you could use a binding like this that has no modifier.
If you are using modifiers for this it would help if you showed all the bindings that are tied to the modifier. Can you post pics all the bindings you have made to set up the modifier and the binding affected by the modifier?