fix Issue 9837 - IFTI should consider enum base type
Merge pull request #1816 from 9rnsr/fix9837

Issue 9837 - IFTI should consider enum base type