Fixing function to get last episode of  a serie