Correction to: Nature Ecology & Evolution https://doi.org/10.1038/s41559-023-02115-8, published online 6 July 2023.

This paper was originally published under a standard Springer Nature license (© The Author(s), under exclusive licence to Springer Nature Limited 2023). It is now available as an open-access paper under a Creative Commons Attribution 4.0 International license, © The Author(s). The error has been corrected in the HTML and PDF versions of the article.