Fix for #2256: Indexes aren't updated properly when removing columns

Ticket: http://dev.deluge-torrent.org/ticket/2256