Bug 833291 - Part 7/7: fix createMessageList().