Take deep hierarchy into account when changing parent