SERVER-139353Backlog
Add additional safeguards on inadvertent modification of Queryable Encryption safeContent tags
Currently, doing a direct update or findAndModify to an encrypted collection's {{__safeContent__}} array when {{bypassDocumentValidation}} is {{false}} is only prevented if the operation is a replacement-type update, or a {{$set}} on the {{__safeContent__}} field itself. It does not error if you try to {{$set}} a dotted path like {{__safeContent__.0}} or if you use other modifier-style update operation like {{$push}} or {{$pop}} on it.