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