Fix drop tables errors.