Fix a bug where old child items would not be deleted on form change