Handle traversing empty tree case