(pouchdb/pouchdb#1936) - implemented inclusive_end for local engines