Handling the new NotFoundException thrown when the delete method didn't find the key in the index