Fixed CouchDBDocument not uploading after creation