Deactivated "execute script" actions in loops break automation

When I moved the “execute script” actions outside of the loop, it was not broken anymore.