adding null check when iterating over a list of channels, as a channel might get removed in between the iteration #5473756193039