```ruby
@last_successful_operations ||= []
return @last_successful_operation unless @last_successful_operation.empty?
```
If stay as now we get error.
```ruby
undefined method `empty?' for nil:NilClass
```

It is my fall, sorry)