Fix up the random error in array merge.