Fix MessageList index issue.