Fix an intermittent exception when handling read-receipts.