In repeat/repeat/switch/case/toggle, sometimes the wrong item gets toggled and then fails to toggle back.
See attached test case for xsltforms-dataisland-461.
Press the third HIDE button to see failure
Press the third HIDE button to see failure