Constant-output node fixes

Correctly apply constant input for constant output Nodes.