Fixes #100

https://github.com/couchbase/couchbase-lite-java-core/issues/100