Execution fixes

Some minor fixes.
The intent of this line is to succeed if there were no errors but errorThreshold was set to 0?

Good pickup! :+1: