Fixed bug with recombination