I think you are generally correct, though it depends upon the sound of the "h". "An" doesn't always precede a vowel. See the article: "Articles: A versus An" below.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.