Fix small inconsistency in pruning
Release notes
Make treatment of shape pruning consistent with before
Details
- If either the up or the down variation is not flat, we don't want to prune the syst.
- If either the up or the down variation is exceeding the cut-off threshold, we want to prune.