Fix year casting mistake