Fix PHP Notices: search.php