Fix collection parent-children relation loss.
Reset field value when input is empyied.