Frequency dependence limits divergent evolution by favouring rare immigrants over residents