Fix incorrect parsing of channel for JOIN