Check leaves for changes before dumping