Fix out of range substring when email string ends in .