fixed some bugs in interval_tree_search file