The order of dict keys is undefined, but we need the tag to be consistent between runs

An old bug that has been fixed in newer simulations.