Cleaned up ExtractAllLinks middleware function.