Fix bug where XML imported blocks did not set their parents.