Fixed missing root key from Messages query