advancement detection for when player right clicks on an entity

currently using the following advancement, however it just does not detect when I click on the entity. Is there something I have to do differently?

{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:player_interacted_with_entity",
      "conditions": {
        "entity": {
          "type": "minecraft:armor_stand",
          "nbt": "{Tags:[hpet]}"
        }
      }
    }
  },
  "rewards": {
    "function": "headpets:recall/check_pet"
  }
}
Continue to help post