Fix logic for adjusting Banerjee-Pedersen scores