Avoid running the same messageList query more than once.