Removable search links

Fixed from comments on previous request, only target's links are removed instead of all links.