Improved checking of internal consistency for BronsonAVLTree