Fixed bug that was causing corrupted individuals (and fitness values).