bugfix for intrusive AVL trees