Bug: UI for Repeat While action messed up

I am not able to reproduce this problem. Here is the simple test case I used:

And here are the logs:

This leaves me having no idea what is happening with your rule, beyond the obvious issue you show with your logs. My suggestion is to start with something much simpler, like mine, test it, and grow the rule from that starting point.