(#935) - revDiffs returns incorrect list of missing revs for a deleted document

(#935) - corrections

(#935) - revDiffs returns incorrect list of missing revs for a deleted document, corrected
merge