Attach (recommended) or Link to PDF file here:
[occurmin0.pdf](https://github.com/mozilla/pdf.js/files/7340277/occurmin0.pdf)

Configuration:
- Web browser and its version: 95.0a1 (2021-10-13) (64-bit)
- Operating system and its version: Windows 10


Steps to reproduce the problem:
1. Open form in pdf.js

What is the expected behavior? (add screenshot)
Form is blank (subform `nomin`  does not display)
What went wrong? (add screenshot)
![image](https://user-images.githubusercontent.com/7104454/137184675-d48027c0-1f17-4faa-bc97-b45814b38e36.png)

subform `nomin` displays, even though it's subform is set to `<occur max="-1" min="0" />`

currentNumber = parent[name].children.filter(
        e => e.name === formNode.name
      ).length;
    } else {
      currentNumber = parent[name].children.length;
    }
    const pos = parent[$indexOf](formNode) + 1;
    const ii = occur.initial - currentNumber;
    if (ii) {
      const nodeClone = formNode[$clone]();
      nodeClone[$removeChild](nodeClone.occur);
      nodeClone.occur = null;
      parent[name].push(nodeClone);
      parent[$insertAt](pos, nodeClone);
      for (let i = 1; i < ii; i++) {
        const clone = nodeClone[$clone]();
        parent[name].push(clone);
        parent[$insertAt](pos + i, clone);
      }
    }
  }
  _getOccurInfo(formNode) {
    const { name, occur } = formNode;
    if (!occur || !name) {
      return [1, 1];
    }
    const max = occur.max === -1 ? Infinity : occur.max;
    return [occur.min, max];
  }
  _setAndBind(formNode, dataNode) {