Add a minor optimization to CLI tab completion functions for channels.