Attach (recommended) or Link to PDF file here:
issue13500 (in test corpus)

This regressed when landing #13566. 

What is the expected behavior? (add screenshot)
<img width="664" alt="image" src="https://user-images.githubusercontent.com/942640/122467522-7bc8aa80-cf6f-11eb-9d4d-311eb7c64fb2.png">


What went wrong? (add screenshot)
![image](https://user-images.githubusercontent.com/942640/122467565-85eaa900-cf6f-11eb-9c10-8a8686ed440c.png)


if (node.leader) {
            leader = this[$searchNode](node.leader, node[$getParent]());
            leader = leader ? leader[0] : null;
          }
          if (node.trailer) {
            trailer = this[$searchNode](node.trailer, node[$getParent]());
            trailer = trailer ? trailer[0] : null;
          }
          let target = null;
          if (node.target) {
            target = this[$searchNode](node.target, node[$getParent]());
            target = target ? target[0] : target;
          }
          if (node.targetType === "pageArea") {
            if (!(target instanceof PageArea)) {
              target = null;
            }
            if (startNew) {
              targetPageArea = target || pageArea;
              flush(i);
              i = Infinity;
            } else if (target && target !== pageArea) {
              targetPageArea = target;
              flush(i);
              i = Infinity;
            } else {
              i--;
            }
          } else if (node.targetType === "contentArea") {
            if (!(target instanceof ContentArea)) {