Fixed a time comparison bug causing episodes to roll back