As demonstrated by https://github.com/pouchdb/pouchdb/pull/4638, we regressed in 0.6.4. I've tracked down the bug and have a fix.