The pink metal 2 vertical wires land on the blue metal 1 pads of the same net, but they should not be able to because there needs to be space for a via from metal 2 down to metal 1 there:
This is correct insofar as finding a vertex that can connect to the given net, but the test must differentiate between inbound wire layers. A metal 1 (blue) wire landing there would be legal, but since the connecting is on metal 2 the via is mandatory.
Searches do not consider the last edge when determining whether an endpoint is viable since that is expensive, but perhaps it is necessary?