BST: Fixed bug with the clear() method.