fixes output cache with multi-tenancy