The write operations stmtIds field is not validated to contain distinct IDs during command validation. That property is only validated in invariants and tasserts on the write path.
For normal writes, this crashes before the write hits disk. For timeseries collections, the path with the assertion for normal writes is not used, and instead, we have an invariant in the onCommit callback, after the write has been committed.
We should validate such commands.