Index update fixes

1. Drop removed indexes
2. Properly handle rename of foreign keys check
3. Quote column names in index specification