Fixes issue #328

Fixes reproducible error, where can not add attachment after a property has been updated.
Merge pull request #238 from couchbase/feature/couchbase-lite-android-issue_328

Fixes issue #328