Fix recursive remove.