Make it so we only use date_to_xmlschema on dates that exist