[fixup] group based first and last epg date + improve first date
calculation