Made canceling reps recursive, to get the whole tree