Ah, great catch :) This is something to address in pouchdb - just opened an issue for it: https://github.com/daleharvey/pouchdb/issues/849.

I'll go ahead and merge this now then and revisit when the changes land in pouch. Thanks!