Iterating over the python dictionary id2copy was changing the order of the variables randomly (there is no guarantee that the iterating order is equal to the insertion order). Removing the extra loop and integrating everything into the main loop fixed the issue.
EDIT: Not sure why the continuous integration build has failed, I assume it is not related to this PR?
Iterating over the python dictionary id2copy was changing the order of the variables randomly (there is no guarantee that the iterating order is equal to the insertion order). Removing the extra loop and integrating everything into the main loop fixed the issue.
EDIT: Not sure why the continuous integration build has failed, I assume it is not related to this PR?