BELONGS_TO through eager loading fix
Unit tests
Merge pull request #2533 from creocoder/belongs-to-through-fix

[READY] BELONGS_TO through eager loading fix