Randomized Loops

This post should help you:

You need to retrigger the random get by using a delayed get node like in the graph shared in the post I linked.