Thanks for the test macro. There the issue is that store | true | !statusOK
was not in the loop. The first check always fails, since the page was not loaded yet. After that you must “reset” !statusOK. Because once it is false, !statusOK does not change back to “true” by itself.
This works: