Solution for https://github.com/couchbase/couchbase-lite-android-core/issues/10