Scripts/HoR: fixed conflict between multiple classes with same name

Closes #12051