[Cmds]Fix editcom OperationalError.