Keep link between id and reference url() intact

Fixing issue #12