Fixed elite selection in #replace!