Sets are not serializable, which causes this:
We should also add some tests, because this was caught in production.