Seed 4498200 in the Business collection is the first to have multiple relations, where the collection is the second one. If the wrong relation is selected, it gives a TypeError when calculating the collection id. For a temporary fix, I switched to getting the last relation instead of the first, which works for this one and all the ones with a single relation.
If we start seeing this more, we need to either establish a consistent order for the collection relation or iterate on relation to find the correct one.