Fix 'bases_for_sample' and move logic to Genotype object