Correctly update the edit links in the module wizard (see #5687)