Fix while condition.