Slowcast not registering hit

I set up a slowcast pretty much like /method slowcast shows but collisions with entities don't trigger for some reason... This command is run AS and AT the marker in the step function mcfunction execute unless data entity @s {data:{spell_data:{on_entity_collision:{as_target:""}}}} if score @s hexenwerk.spell_distance_traveled_blocks > #1 hexenwerk.constant store result score hit hexenwerk.temp if entity @e[type=#hexenwerk:mob,dx=0,gamemode=!creative] run function hexenwerk:wand/spells/generated/events/collide_entity_entity with entity @s data.spell_data.on_entity_collision
Continue to help post