Fix typos to be more accurate in validation messages.