Minor Fix

Oops, iterate through array was wrong