Issue #1632530 by tarmstrong, dreamlabs: Applied patch to fix undefined index error when removing a node