Correct minor bug in figure-of-merit scoring.