Edit select in loop not working

Hello All, I have been trying to create a macro described in a previous post so can select between markers but I can’t get it to work. One of the problems seems to be that “Edit select in loop” seems to select all the tracks from start to finish. How can I select just inside the loop ?

Does the command work differently when you use it outside the macro?

Note- The locations of the left and right locators determine the boundaries of the loop, aka cycle.