The usage of `index` was inverted between destination array of vectors and source vector in rB3a3d9488a1633.