Fix for ReferenceLinker crash when updating multiple elements