Handled an undefined array for outgoing links of output nodes.