fix Issue 13378 - Wrong failure of template value parameter deduction in IFTI
Merge pull request #3898 from 9rnsr/fix13378

[REG2.066] Issue 13378 - Wrong failure of template value parameter deduction in IFTI