fix-#771: OperationError: Shard Keys are immutable. Tried to update id e...

...ven though the document is not yet saved

fixes #771