Fixed PostGIS remove_field implementation

Fixed bad code introduced in 2f9d1576e8.
Fixed table cleanup in GIS migration tests