Fix extremely confusing error message.