Step 1: Insert a document such as:
Step 2: Create an index, such as:
The key for the document we inserted above is null.
Now do an update:
The update driver determines that this change will not affect any indexes, so the index keys don't get recomputed.
But when we run validate(), they do get recomputed, and as part of that, validation fails
because we have a numerical field name in an object nested inside an array:
One way to fix this is to just add a special check to the update code.