Bug fix to catch only valid PDF links