Correctly sync threads and post count in monitor after pruning.