Fixed dropping foreign keys