How can `link.firstMatch` _not_ be `-1` here? What am I missing?