Fixed errors in database results in fetch_episodes()