Always getting advancements for enchanted book

So I am trying to grant an achievement when the player has an enchanted book with unbreaking 4 in its inventory, this is my try: |

{
  "parent": "enchanter:forge_crafted",
  "display": {
    "icon": { "id": "minecraft:diamond_chestplate" },
    "title": { "text": "Truly Unbreaking", "color": "aqua" },
    "description": { "text": "Obtain Unbreaking IV" },
    "frame": "task",
    "show_toast": true,
    "announce_to_chat": true,
    "hidden": false
  },
  "criteria": {
    "has_unbreaking_4": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "item": "minecraft:enchanted_book",
            "nbt": "{StoredEnchantments:[{id:\"minecraft:unbreaking\",lvl:4}]}"
          }
        ]
      }
    }
  }
}

What am I doing wrong? I get the achievement instantly/the criteria is skipped

Continue to help post