Fixed segfaults from commands with argument checking.