Fix client filter algorithm:

* Pull all missing documents first (those that are in the filter list
  but not in the database), without updating sequence number

* Update all documents currently in database, updating sequence number