Fixed NULL command type in incoming messages.