Fix logic in windowsIntersect

[Tracking bug 23893]

[git-p4: depot-paths = "//depot/software/bioinformatics/tools/GenomicConsensus/": change = 128961]