It is a long time since I looked at this. And since I don't work at the library anymore I cannot look at an example of order_info_long.
As I read the code, it would seem that the first element of order_info_long is special, probably some text...
The following elements are probably debt ids, apparently only the first of each element.
You would have to look at some examples of the variable.