fix error pt2
fix error pt2: a task in lifesci-drug-discovery-swe-envs-nocap (Harbor dataset). There is an error in the previous fix, the condition was not in the loop over the different states
The task
There is an error in the previous fix, the condition was not in the loop over the different states