Fixed AVL balanced bug