fix bugs related to
(1) semi join
(2) multiple join and the DemuxOperator directly connects to a
MuxOperator