Exclude local entities from _changes result.
Fix the timeout error on replication.