Unloading a record does not load unloaded belongs to relationships.

`clearRelationships` checks the state of the relationship.

[Fixes #1567]