Apply `limit` on `DatabaseEngine` before applying additional constraints (#621)
Apply `limit` on `DatabaseEngine` before applying additional constraints (#621)

The previous PR broke Laravel Nova implementation on Global Search where we use the following:

```php
App\Models\User::search('Laravel')->tap(fn ($query) => $query->limit(5))->get();
``` 

### Before

Callback using `tap()` take priority over default.

#### After

`limit()` take priority over `tap()` and I would consider this a breaking change.
laravel/scout