getSortStringForRow() passed a parameter as hdr, but referred to it as msgHdr

This throws an error normally, and seems to be at least partially responsible
for the conversation window getting wedged and never displaying a new message
in some cases.
Merge pull request #848 from wrouesnel/monkeypatch-fix

getSortStringForRow() passed a parameter as hdr, refers to it as msgHdr