Fix episode number parsing.

Computed episode numbers might be shifted if the first number is not 1 (for
instance with an unaired pilot in the first season).