Fix for search.php