Fix MixedOrderCusor input checking

Cast 10 (start and end both null and inclusive) was accidentally being rejected as illegal.

Small tweaks to the new DTs test to make them deterministic and externally repeatable.