Feature request: Macro "run multiple" stop when find failsbrowsing

It would be really convenient for me if the Run a Macro Multiple Times had an option to stop if a find operation fails (EOF reached).

I’m at the moment trying to modify a large xml-file by recording macros and running them multiple times (lots!).
In the beginning of the macro I search for some string, and if it was not found, the execution should stop.
As it is now my macro execution continues until it has eaten the rest of the file from where the last keyword was found.