Relative pronouns tend to inspire a lot of confusion. Is it the boy who cried wolf or the boy whom cried wolf? All's well that ends well or all's well which ends well?
As much as we may think we need the fancier pronouns, like whom and which, more often than not, the ones we're more familiar with are just fine. In both of those cases, the first version of the saying is the correct one.