Duplicate entries appear in the list of Endpoints when deleting a file