Generic implementation of sets that gets past bootstrapping phase.
Fixed a bug causing set/c to diverge.