Fix bug#4424 Table indexes disappear after altering field

Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>