Cleans up badge list hb template.