Skip features with invalid links in the matching tool
We have some chains (chiefly idperf
) which have invalid features in them. When trying to match to these the tool fails as it cannot follow the invalid link. This MR fixes this behaviour so that it checks the links before trying to dereference them and then fails the matching for that chain before it does anything that would try and dereference the link.
Solves ATR-24381.