Fix error with ids of found channels.