Fix issues with phased genotypes

Genotypes in VCF files can be phased (this is indicated by |, like 0|1, not 0/1). This pull request fixes some issues with that.