Fix a bug where if a localID was added into the scene that was greater than the existing localIDs set, it would corrupt the object added in next.
Fix a bug where if a localID was added into the scene that was greater than the existing localIDs set, it would corrupt the object added in next.

TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim