Fix belongsTo relationships to models with id 0
Merge pull request #876 from tricknotes/fix-belongs-to-relationships

Fix belongsTo relationships to models with id 0
Remove unused local variable