Fixed win condition, tested to be working now.