Delete link was not working. Fixed it