Fix check for channel being registered