Added checkForTie.