Fix the mode string.

A minor change that removes the *invalid* string in the mode line.