Missing genotypes are written as unphased genotypes, which makes the current phasing check fail on data that is truly phased.