Fixes bug in link pattern.