Correctly correct the edit link