Fixed auto-win condition