CBQE-0: fix upgradeXDCR

Change-Id: I708f73b900481a8fcf0850fc5ea617c6347fe365
Reviewed-on: http://review.couchbase.org/29822
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>