Improving the understanding of jet grooming in perturbation theory