Fix incorrect results from rule SQL built-in function `date_to_unix_ts` after March on leap years.