[IB] Add checks to multicast attach and detach