Fix undefined index errors in /helpers/hSearch.php