Fixed persistent bug in haps_to_hapmap