Only delete the first occurring element.