Added: Check for a tie