[GH-49] Fix bug, CouchDB collections dont have setDirty()