fix exception in get_last_score_for_team if the team doesn't have any previous score