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