Fix delete and edit links