Fix for the issue #26: "Pointing to the same target fails".

Fix for the issue. Code creates only one target container, and use it if another link points to the same target.