Correction to: Nature Ecology & Evolution https://doi.org/10.1038/s41559-020-01301-2, published online 1 September 2020

In the version of this article initially published, Diana M. T. Sharpe was thanked for data contributions in the Acknowledgements but not included as an author. Sharpe is now included in the author list and the Acknowledgements section adjusted accordingly. The changes have been made to the HTML and PDF versions of the article.