The subtract_temporals() database operation was not handling expressions returning SQL params in mixed database types. Regression in 3543129822. Thanks Reupen Shah for the report.
3543129822