Fix episode number parsing.

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