Fix bug with percentage calculation in Tenacious badge