Fix bug that causes nsc to crash.

Bug caused nsc to sometimes crash when it encountered an unknown escaped
command.