Don't use if (!expr) {} else {}

The correct way is: if (expr) {} else {}

Change-Id: I191b4f7ac33a1fef68a7ffb91ccb2bba76001fa8
Reviewed-on: http://review.couchbase.org/27388
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>