Fixing href generation.