Check if episode exists before inserting