The H in "history" used to be silent, but now is not, and hence the confusion. No one would disagree that "an honest man" is correct, and not "a honest man." If the initial consonant has a vowel-sound, then its an "an". (An honorable man). So I guess it depends on whether you assign an article to "history" based on its pronunciation today, or its (h)istoric pedigree.