Incorrect depth is set to post in topic reply

1 node means 0 depth, 2 nodes means 1 depth, the depth should be number of nodes - 1

Bug: 57365
Change-Id: I6e52a233a5f5b9932ed891e2d7a5f82e4c6bf313
Merge "Incorrect depth is set to post in topic reply"