Fix typo in channel name valid check