Fixed an off-by-who-knows-what bug in the command system.