When the script creates a split stereo track from a stereo ('--2') track which is the last track of a folder, the next track is not added in the folder.
Something like:
- if trackToSplit.depth is -1 (end of folder)
- make new
- turn original to mono
- make new mono
- make original depth 0
- make new depth -1