Update replication filter to make changes done to design documents local.

This way we will avoid a situation when old code is using new design docs
or that the documents is transfered but database still need to index it.