Don't use `to_date` when sending parameters
Assert two dates as dates