Web Accessibility - NVDA - Dropdown

I’m using a dropdown. On ChromeVox it is okay, but using NVDA (PC’s only), the focus gets stuck on the nested UL LI for logout. Anyone have experience troubleshooting a dropdown menu with NVDA? Here’s my code. Do I have something wrong or is there something to add to make the NVDA screenreader work as expected?

                    <ul class="menu align-center">
                        <li class=""><a href="#">Search</a></li>
                        <li>
                            <ul class="dropdown menu" data-dropdown-menu>
                            <li>
                              <a href="#">Hi LoggedInUser</a>
                              <ul class="menu">
                                <li><a href="#">Log Out</a></li>
                              </ul>
                            </li>
                          </ul>
                        </li>
                        <li><a href="#">Help</a></li>
                      </ul>

I found my mistake in the HTML. I had an extra nested UL I didn’t need.

<ul class="dropdown menu align-center" data-dropdown-menu>
    <li class=""><a href="#">Patient Search</a></li>
    <li><a href="#">Hi LoggedInUser</a>
        <ul class="menu">
            <li><a href="#">Log Out</a></li></ul></li>
    <li><a href="#">Help</a></li>
</ul>