Fix search by not showing table when first clicking search.