Remove exits from search.php