Just to answer my own question, and I feel so, so not good about this one. The billing codes array created multiple instances of the same form element, so it kept overwriting it.