killing item entities with a specific name

So I have a thing when someone drops the compass on their 9th inventory slot, it drops and they keep in in their inventory (as it should) but I want it so that when it gets dropped it kills the item entity.

The current command is:

/kill @e[type=item,nbt={Item:{id:"minecraft:compass",tag:{display:{Name:"{\"text\":\"Warps\"}"}}}}]
``` but it doesn't work.

Someone please help 🙏
Continue to help post