hiding table header when no queries are available