rocnetnode: check if channel number is in range to avoid a crash