This mod is incompatible with underground-pipe-pack and underwater-pipes; adding these two mods as optional (/hidden) dependency solves the issue.
(Modification of pipe.pipe.next_upgrade is carried over to new entities with different collision masks/replace groups; loading this mod after the others means the next_upgrade change doesn't cause issues)