Fix parent cleaning in removeAll()