Fixed printing of command events.