Fixed a possibility to handle empty channels list