Applied fix for date_year and date_month types.