Handle a weird edge case of reassigning the same parent