Fix for the issue #26: "Pointing to the same target fails".
Merge pull request #27 from dfsq/master

Great! Thanks