Prevents removal when a track is connected not just to other tracks but also other connected items Fixes https://gitlab.com/kicad/code/kicad/issues/10916 (cherry picked from commit 9d927f3135)
9d927f3135