Fixed another indeterminism with invert-scores.