I don't have the toolkits that you are using installed but I took a quick look at your code. One thing I noticed is that there is a coercion dot on the input to the one VI inside your second loop. This may be the source of your problem. When data is coerced you can get unexpected transformations that result in bugs or code not functioning.
Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot