See I Need Help With Tracks_Observable please. It’s basically the same problem: the track is not yet fully inserted while the notifier gets called. Aka, the iterator is not the problem, but doing this in the notifier is.
This one shot idle thing (see linked thread above) will fix the problem in your case too, until we’ve fixed this properly…