Fixed #475 - MySQL Migration bug with indices