(#1936) - implement inclusive_end for allDocs()