The Bug
This seems like a bit of an oversight. The advancement trigger minecraft:item_delivered_to_player
does not contain a condition for the item. Similar advancement triggers do contain that condition, one of which being the minecraft:allay_drop_item_on_block
trigger which was introduced in the same snapshot.
This is a feature request