Clear object graph when removing mappings