fix Issue 8313 - stack overflow on recursive ifti evaluation
Merge pull request #2753 from WalterBright/fix8313

fix Issue 8313 - stack overflow on recursive ifti evaluation