Corrected a bug that caused errors if the multicast sender and receiver are directly connected to the same switch.