@karinegomes Yes, it is not correct to use the first inside the scopes because they are meant to be chained (i.e. adding behaviour to query) and Eloquent builder reassings a builder instance if it finds that a scope is returning the null value.
Here is the culprit line of code from the core: https://github.com/laravel/framework/blob/5.4/src/Illuminate/Database/Eloquent/Builder.php#L1017
Now, you can either use a simple static method inside your model or use first inside the controller and not in the scope.