I think you should check that m_originalMessageId is non-empty here.