fix Issue 12586 - redundant error messages for tuple index exceeding
Merge pull request #3458 from 9rnsr/fix12586

Issue 12586 - redundant error messages for tuple index exceeding