fixed episode issue

This appears to be an error in the code that called index, which doesn't exist yet and did not make season an integer so all episodes were returning as None.