wrepl_server: update local table only with version_ids we apply localy