tdf#139298 New created query doesn't show any row

regression from...

commit 5f7cf9ccba25a94c275ec67936dc29f0adb4129a
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Mon Aug 10 19:49:25 2020 +0100

    use InterimDBTreeListBox

Change-Id: I755879699aa6fcc9b42b5845ae60406794e11cc2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109720
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index 67ae3ca..5bbfe7b 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -1092,14 +1092,14 @@ std::unique_ptr<weld::TreeIter> SbaTableQueryBrowser::getObjectEntry(const OUStr

        weld::TreeView& rTreeView = m_pTreeView->GetWidget();

        if (ppDataSourceEntry)
        {
            // (caller wants to have it...)
            *ppDataSourceEntry = rTreeView.make_iterator(xDataSource.get());
        }

        if (xDataSource)
        {
            if (ppDataSourceEntry)
            {
                // (caller wants to have it...)
                *ppDataSourceEntry = rTreeView.make_iterator(xDataSource.get());
            }

            // expand if required so
            if (bExpandAncestors)
                rTreeView.expand_row(*xDataSource);
@@ -1121,14 +1121,14 @@ std::unique_ptr<weld::TreeIter> SbaTableQueryBrowser::getObjectEntry(const OUStr
                }
            }

            if (ppContainerEntry)
            {
                // (caller wants to have it...)
                *ppContainerEntry = rTreeView.make_iterator(xCommandType.get());
            }

            if (xCommandType)
            {
                if (ppContainerEntry)
                {
                    // (caller wants to have it...)
                    *ppContainerEntry = rTreeView.make_iterator(xCommandType.get());
                }

                rTreeView.make_unsorted();

                // expand if required so