Make conjecture generator's uf term enumeration safer (#2172)