Call IsCollective when looking for collectives with channel id.
Call IsCollective when looking for collectives with channel id.

This change unifies the place we check if an instruction is collective or not.
