Fixed npe in get-winner.