[array] Minor bugs fixed.