Changed leafRemoved event parameter to id