Let's make sure that looping through the roles of a user doesn't actually change the list of roles in the user data as it is reported here and here
We may have to use Get field data instead of Token: Set value.
Get field data
Token: Set value