[backend] tweak ordering algorithm for the full tree so that it does not break out maintenance updates