Correctly call prune-trace