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

Wanted to add some more info, it seems that whenever I add an at node now it will throw this error like in the picture below, even though index says 0 :frowning: