Further changes to unregister child records when a record is unloaded.