Fixed crash for invalid channel names