Check for ties