Fixed secure link not being deleted