overflow bug in multi-index when checking for duplicates
Merge pull request #9101 from behzadnouri/mi-dups

overflow bug in multi-index when checking for duplicates