Update to resetSearchname.php logic