Control rig says index out of bounds, but if I print the index going into it, it is never the number 2 which it says is the issue

For anyone curious about this in the future, just make sure you initialize the array with the maximum number of indices you use in the default value. I was manually setting the length of the array in a loop under the Forward Solve event, but it only stopped giving me a compile error after I added 6 blank values as default.