#318: 'helper.py', Find index of item with duplicates

Resolves #318.