Fix scoring bug.