Fixed directly adding an Element to a Datamodel which contains a stub with the same ID