Hi Dragan,
In the provided scene, both macros use the same User Data value (#0). Once the one changed correspondingly (to #1 for the X Evenly Distance), it seems to work just fine. I'm attaching the modified scene (230810_Marker Bug_iToo.max).
Best regards,