Fixed infinite loops in MP4 connector when selecting invalid tracks.