Fixed lastevent in get episodes