Remove unneccessary command.
Ignore unexisting node.