Fix classcastexceptions when running general benchmark due to score definition type differences vs ranking