Damage Source Properties Condition not working

The damage_source_properties condition is not working in the loot table I have created. I want a specific drop to occur but if and only if the damage that kills a creeper is that of a tnt or a tnt_minecart. This is currently an item in the creeper pool. { "rolls" : 1.0, "entries" : [ { "conditions" : [ { "condition": "minecraft:damage_source_properties", "predicate" :{ "direct_entity": { "types" : [ { "type" : "minecraft:tnt" }, { "type" : "minecraft:tnt_minecart" } ] } } }, { "condition" : "minecraft:random_chance", "chance" : 1 } ], "type" : "minecraft:item", "name" : "minecraft:music_disc_11", "functions" : [ { "function" : "minecraft:set_nbt", "tag" : "{CustomModelData:5, HideFlags:32}" }, { "function" : "minecraft:set_name", "name" : [ { "text" : "Revenge", "color" : "red", "italic" : false } ] }, { "function" : "set_lore", "lore" : [ { "text" : "by CaptainSparklez", "color" : "white" } ] } ] } ] }

Continue to help post