Improved the initial mptt migration by adding automated tree rebuilds.