Fixed omitting of identities in 1:N and M:N associations