Fix tenants availability check