FIXED: Limit access to within array bounds.