Fixed vars parent and depth when getting a comment of a thread