Fix a bug when handling an unknown command.