Changing the #skeleton_preferred_weapon tag to swords

Hey everyone! I'm working on a datapack to make skeletons prefer swords over bows using the new #skeleton_preferred_weapon tag. Here's what I've implemented:

    "replace": false,
    "values": [
        "minecraft:wooden_sword",
        "minecraft:stone_sword",
        "minecraft:iron_sword",
        "minecraft:golden_sword",
        "minecraft:diamond_sword",
        "minecraft:netherite_sword"
    ]
}```

The file is located at: `data/minecraft/tags/items/skeleton_preferred_weapon.json`

Current behavior: Skeletons aren't picking up or switching to swords when they have bows 😕

Questions:
1. Is the tag location correct, or should it be in a different directory?
2. Does the tag require any additional configuration files or advancements to work?
3. Should "replace" be set to true instead of false?
4. Are there any specific requirements for making skeletons actively switch from bows to swords?
5. Is there a specific order the weapons should be listed in (like highest to lowest priority)?

Any guidance would be greatly appreciated! Thanks in advance! 💜
Continue to help post