Minor fix for strings as dates