Fixed a bug with result score update