Correction to: Nature Ecology & Evolution https://doi.org/10.1038/s41559-023-02087-9. Published online 5 June 2023.

In the version of this article originally published, Luca Santini (Department of Biology and Biotechnologies “Charles Darwin”, Sapienza University of Rome, Rome, Italy) was incorrectly listed with a second affiliation, which has now been removed in the HTML and PDF versions of the article.