Fix epg channel numbering (issue #1851)