Correction to: Nature Ecology & Evolution https://doi.org/10.1038/s41559-019-0871-9, published online 15 April 2019.

In the version of this Article originally published, there were errors in the colour ordering of the legend in Fig. 5b, and in the positions of the target and surrogate populations in Fig. 5c. This has now been corrected. The conclusions of the study are in no way affected. The errors have been corrected in the HTML and PDF versions of the article.

Fig. 5
figure 1

Original and Corrected.