1). Something has happened in the past twenty years that surely must transcend anything that has happened before.
2). Something has happened in the past twenty years that surely must transcend anything that had happened before.
Which one is correct ? If both are correct, what is the difference in meaning between these two sentences?