use non-strict equality check for existing indexes
Merge pull request #527 from zimride/master

Use non-strict comparison for existing indexes