Fixes issue #387

This fixes issue #387 however I need some help to write a test.  I am no experience with Mockery and very little experience witht he inner working of the Laravel framework however I know this code fixes the issue as it fixes my application.  To test this, there need to be a test that simulate this:

```php
Model::with('user', 'userGroup')->get()
```

as that is the code that produced the issue for me in the first place.