Issue #376 - make sequences match doc ids.

https://github.com/couchbase/couchbase-lite-android/issues/376