BUGFIX: Fix Global ID assignment

Fixed issue wherein duplicate global IDs would be assigned
across timesteps.