Fix confusing error message.