Fix wrong array index in unique indexes for MySql
Merge pull request #1622 from lucianobaraglia/master

Fix wrong array index in unique indexes for MySql