Check for leaf changes before dumping all