Fix REPEAT/UNTIL semantic.