 I get this error almost every time I use the script when going from Extended to Surround. Going the other way seems to work fine. If I run it 5-6 times, eventually it works. No idea why though.