Fixed exception which occurred when issuing orders to a Commander.