fixes #13: optimistic locking on a document with validation