Bug fixed in get_deepest