Switched to std::find_if to search for channels.