When a new entity is created (fast replaced), the script does not mention "raise_built=true" on the line
newEnt = entity1.surface.create_entity({name=splitName[1]..connector..newSufix, position=entity1.position, force=entity1.force, direction=entity1.direction, fast_replace=true, spill=false, create_build_effect_smoke=false })
Which means other mods that rely on these events can get unexpected results.
This breaks https://mods.factorio.com/mod/fluid-connection-indicators/ which relies on the events to create or destroy indicators.