Grasshopper shows dotted wires for multitype parameter

I have an input parameter say ParameterX that needs to be able to accept multiple different type inputs. I have 2 components with different types of output say: ParameterA and ParameterB. Those are tied to different Goos say: GooA and GooB which inherit from abstract GooBase.

On ParameterX I have overridden the OnVolatileDataCollected method in order to filter out anything that is not a valid GooA or GooB object.

When I try connect the both ParameterA and ParameterB to ParameterX, grasshopper automatically shows the dotted wire connection and branches out the different type inputs, which I do not want!

Could someone explain what is happening here?