Fixed issue with tie score