You can't attribute this to bad luck; the theory of probability doesn't allow it.
In the fourth game, the situation is even worse when, during a level-up, only one unwanted skill drops (instead of one of four, according to the theory of probability).
In short, probability in Heroes differs from the generally accepted one. :D
Справочник по НоММ-4 http://handbookhmm.ru/pamyatka-dlya-heroes-iv.html
Памятка по НоММ-3 http://handbookhmm.ru/pamyatka-dlya-homm-iii.html
и HotA http://handbookhmm.ru/vyishla-obnovlennaya-pamyatka-dlya-homm-iii-hota.html