Fix to issue #502

Possible fix to issue https://github.com/laravel/framework/issues/502

As either the value is null or not an instance of ArrayableInterface, still
we need to set the value to the $relation variable.