Fix connector with optional data
Context
When trying to use connector with an operator with optional data input that you want to keep optional you will get the error:
RuntimeError: Missing an input connector for Data input#1
I changed the code to ignore OptionalData input when checking remaining available input.