Fix a typo that skipped many tests
Add support for double episodes recognition