Fixed pp bug in apply_forest()