Looks like you are using shapes for the tracking, might be better to use clines but in any case this is an issue because the via has a different netname to the shape. In 17.2 latest hotfix hover ver the via and right click - Assign net to Via then choose the net you wish to associate the via to in the Options pane. If you are not using this version then there is a skill file in the default installation that will do this. Look at \share\pcb\skill\examples\cmds folder.Image may be NSFW.
Clik here to view.
Clik here to view.
