Fix a belongsTo + hasMany relation incorrectly being identified as n:m. Closes #2159