Correct when id index doesn't exist
Merge pull request #328 from maxailloud/validation_link_on_badge_page

Correct when id index doesn't exist when validation link generation