Check if content in nosync is a directory. Fixes #416
Update the date when updating an existing document
Merge pull request #417 from guillermo-carrasco/master

Check if content in nosync is a directory. Fixes #416