COOK-4440: Fix syntax error in not_if guard block