Fix error thrown when set store to expanded tree grid