Fix isFinished.