Improved AVLTree handling of timespans.