Resolution of issue 37

https://github.com/couchbase/couchbase-lite-android-core/issues/37