BS-8243, deactivate all tenants before deleteing them