Remove 30600 Extra Measures

Somehow one of my projects got an extra 30600 measures added to the end of it. That’s not a typo - it’s really thirty thousand six hundred. I’ve tried using the “process bars” function in the tempo window to remove them, but seems to choke and not do anything. Does anyone know how I can fix this without recreating the project?

Adjust the project length.

Shift S
or
Project > Project Setup… > Length

Yup, that did it. Such a simple thing but such a pain…

Thank you, sir.