Fixes undefined index in cp_menu_node_update #2067

#2067