Fix exception for unknown commands.