Fix bug where flags immediately after -haploid and -emitconfidentsites were skipped.