Workaround couchbase-lite-java issue 43

https://github.com/couchbase/couchbase-lite-java/issues/43