[569] Fix problem with using set with dicts