Crazy bug

Instructions:
1. use pouchdb from git
2. use collate from here: https://github.com/neojski/collate/tree/indexable_string
3. run `npm run local` and tell why the test fails!