Fixed extraction of value and score from list of tuples