Instead of using messageStore.messages from the previous updatedMessageStore object... we pull it from the processedMessageStore object.
We actually remove updatedMessageStore altogether and include the changes to updatedMessageStore.threads in the messageStore of the returned object.
Depends on D4203