Fix epg error (issue #4255)