Fix the badge links in the search results

:construction: Untested :warning: