Fix error

Change-Id: I0d2226a36a910e0d1f141600189e9d67d12e722d
Reviewed-on: http://review.couchbase.org/38764
Reviewed-by: Eric Limare <eric.limare@couchbase.com>
Tested-by: Eric Limare <eric.limare@couchbase.com>