fix Issue 9410 - Wrong selection for function overload
Merge pull request #1571 from 9rnsr/fix9410

[Regression 2.061] Issue 9410 - Wrong selection for function overload