Fix match index
Merge pull request #1 from mfpierre/master

Fix match index