Fixed the AVL tree.