Fixed end of game scoring issue