Adds a check for empty relation (this fixes a bug in grid column).
Merge branch 'master' of https://github.com/mobileka/laravel-engine