I have submitted a patch on adding "Show/Hide search results criteria for db search" . Please check that.
It seems I found the one case where it fails: if the table is listed as
the last one in the search results. Can be reproduced in the sakila
database if you add the "zzz" table to it, insert some data and search
for it in the db search.
Now I'm looking at this issue and will be able to update you soon. Thank you.