Fixed fix of recursiveCompareAndChange