(pouchdb/pouchdb#1936) set inclusive_end to the opts passed to view