Fixed a bug where a short referenceName in a sub nameElement was referencing the objects of the current nameElement.