Fixed a copypaste error causing a rare crash. (Surprisingly, despite extensive testing, I didn't see it either in code or in action.)