Fixed win checker.