Bugfix: digits in texts with no other refs would mistakenly match as an empty ref
A safety check for good links after normalization