Don't fail the add if the same document already exists.
Merge pull request #8 from oiuweirwe/master

Don't fail the add if the same document already exists.