Fixed a bug in which pruned status was lost during smoothing