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