Fix addchannel and removeChannel validation