Fixed a bug that caused the script to fail if there were holes in the
source ID list - in other words if the keys in the sourceDict went like
1, 2, 4, 5 ...   That could happen if the track contained a source with no
valid data.