CBD-767: fix wait for persistence during access phase

Change-Id: Ie1b83a4ef5aa4f71f2aa572650018e9b76649e05
Reviewed-on: http://review.couchbase.org/24165
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Tested-by: Pavel Paulau <pavel.paulau@gmail.com>