Bugfix in third order perturbation with pruning and new pruning feature at order=3