Fix bad array usage.