Correct, this is not legal:
5 pipe + 1 storage tank that count as a non-duct-part, what u try to connect is the 7 element.
U should connect duct parts only to other duct parts, or u should use the two segments in and out to do that.. but they are not fluid outlets :)
The fact that work with 5 pipes is a glitch that I can't solve,