Corrected post-delete request to set template unavailable