fix(doc): Correct oldvalues record when set an array (refs #4761)