Delete unnecessary condition.
Bug fixed if progressCounter = 0