Fix for win condition.