Correct logic for tie breaking hands