Fix to setitem for valuearray