Fix URL for edit link in dropdown menu