Advancement Help

For my advancement, I'm trying to make it so the function is rewarded when all armor pieces are on. But, it's gives the function everytime any armor piece is on. Can someone help { "criteria": { "impactweb": { "trigger": "minecraft:inventory_changed", "conditions": { "player": { "type": "minecraft:player", "type_specific": { "type": "player", "advancements": { "goblin:bit": true } }, "equipment": { "head": { "items": ["minecraft:chain"], "nbt": "{Goblin:2b}",

          "equipment": {
            "chest": {
              "items": ["minecraft:leather_chestplate"],
              "nbt": "{Goblin:1b}",
              "equipment": {
                "legs": {
                  "items": ["minecraft:leather_leggings"],
                  "nbt": "{Goblin:1b}",
                  "equipment": {
                    "feet": {
                      "items": ["minecraft:leather_boots"],
                      "nbt": "{Goblin:1b}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "rewards": {
    "function": "goblin:maskon"
  }
}

} }

Continue to help post