episodes: fix race condition (lookup by episode id only)