Hi @Anonymous ,
It generate a random number or a list of random numbers every time the flow run.
In the above case, seems like you are trying to remove 8 from the list.

But if you re-run the flow a new list of random numbers will be generated which may or may not have '8' in the list.
That's why error occurred. Hope this will help you.
If I have answered your question, please mark my post as Solved.
If you like my response, please give it a Thumbs Up.
Regards
Kaif