Hey @rikrak, @avantronica
Sorry for taking so long to look into this.
What you need to understand about the modulo function is that it’s all about counting.
When you set a step to modulo 1:8 it will count the current track’s number of loops and trigger the step once the conditions is true (first out of 8 loops)
What the Master Length setting does is to reset the main counter. This is separate from all the track counters.
The track will then reset to its first step once the Master Length reaches its maximum count and start playback again. If it hasn’t finished its loop, the modulo will not count it properly. This causes the behavior you are describing. Try counting every time the track goes from 1 to 5 and back. Note that it will trigger every 8th time this happen. The double trigger is caused by the clock reset happening on the same loop as the modulo condition being true.
It’s not really that strange when you think about how the modulo function actually works, and that everything is dependent on counting. I would advise against using a Master Length with modulo since it might require some extra fiddling for things to go like expected.
It is not a bug, merely a side effect of how these functions intertwine. The downside is of course this behavior, but the upside is that since each track has its own counter, more complex behaviors can be achieved.
(And as always, use quirks to your advantage … Perhaps exploiting this can lead to some very interesting results??)