small fix on Search.php model