Fix bug handling redshift timestamps that are plain dates