Minor tweaks - bug fix on array set.

Signed-off-by: Duane Stark <duanestark@outlook.com>