Fix hasMany access within init

This commit fixes a bug in materialization when accessing a has many association within the initializer method of a record.