Fixed bug in clean_genotypes() causing genotype id to be ignored.