Fixes a problem with links in summary mode when pretty urls were not enabled.