Fixed drop order to drop the foreign key table first.