Fix reverse url lookup.