SERVER-83322ClosedFixed
Compound Wildcard Index bounds reverts to [MinKey, MaxKey] when filter contains fields outside CWI
I'm observing a weird behaviour with CWI's, where queries containing filters beyond those covered by the CWI, results in the `indexBounds` to revert to '[MinKey, MaxKey]`. Say I have CWI: If I query only using fields contained in the CWI: I get this winning query plan: But if I add an extra criteria, say `{ Foo: 'Bar' }`: I suddenly get a query plan where the index bounds on `CustomFields.Prop` and `Date` are both `[MinKey, MaxKey]`: {code:js} { "stage": "FETCH", "