Bug fix for the structural data consistency test in the pack_structs() structural API method.
The index was not correct causing failures in certain rare cases.
Authored by: bugman 2013-03-18
Parent: [r18857]
Child: [r18859]