Fix issue in check of PNA sweep task.