Fix dirty tracking for embedded belongsTo relationships