remove table headers if db or search results empty