switch to pouchdb-filter
explain