Fix the hasMany through connection