This function should return the deleted pet