Fixed bug in channels.c when using multiple forwards