Fix raise on check_height for empty RB tree