Fix discriminating best possible bscore

It's a partial fix actually, not fixed for bep_bscore and f_one_bscore, I would need to study those functions but I have other priorities now.