fix bug in has with null genotypes