Maybe the author is Irish =)
It's probably that words with a more French origin, where the "h" is subdued, require "an" where the harder "h" from more Germanic words does not.