Fixing problem with $episodeArray sometimes not being set.