Debugging fetching of message index