Fixed a bug where score would not increment correctly