Bug fix in deserializing has_many_association in nested has_many_associa...

I found a bug when using nested associations;
during deserialzation of parent record, the child records keeps the new records, and I resolved the bug.