Fixed error in find nth largest number in BST