INDIclient: Fix tree construction after reconnect