As I understand it, if the URI doesn't match exactly, or the story is no longer in Hacker News's RAM, the duplicate won't be caught. I could be wrong, but I seem to remember pg or someone saying that HN only checks the stories currently loaded in RAM for duplicates.
The benefit of this is that old stories can be rediscovered by new users.