Fixed bug in summing total score