fix improper comparison on filtered changes
fix improper comparison on filtered changes

Regression caught by the changes js test.

fkaempfer/couchdb,cloudant/couchdb-couch,apache/couchdb-couch,smithsz/couchdb-couch,cloudant/couchdb-couch,ngpestelos/couchdb-couch,alanning/couchdb-couch,fkaempfer/couchdb,smithsz/couchdb-couch,ngpestelos/couchdb-couch,alanning/couchdb-couch,KlausTrainer/couchdb-couch,apache/couchdb-couch,apache/couchdb-couch,alanning/couchdb-couch,fkaempfer/couchdb,smithsz/couchdb-couch,fkaempfer/couchdb,KlausTrainer/couchdb-couch,fkaempfer/couchdb,ngpestelos/couchdb-couch,KlausTrainer/couchdb-couch,cloudant/couchdb-couch,fkaempfer/couchdb