I made a few adjustments to the db pruning.