Add multiple revisions of a document to a db where insignificant revisions are omitted