refactor: only return tenants from get_tenant