Get first entries from array if there are multiple with the same id
data get entity @s SelectedItem.tag.hexenwerk-spell_data[{id:"wingardium_leviosa"}]
is the command i'm trying to use, however if there are multiple entries the command throws an error since it only "accepts a single NBT value"
is it possible to modify that command so it only selects the first matching entry?