Adjusted Logic component to use appropriate node Types for inputs and outputs