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.