This fix corrects a bug where we were passing a binding _value_ in place of an expected binding index. This reulted in the binding value being compared to an array length and buggy type coercion. Fixing this bug speeds up test scenario by ~10-15%. PR Close #29476