Fix date for arrays too