relay: fix equality check of Channel