Fix bug preventing to delete a link using the dropdown menu.