Minor fix for deletePony action