fix: the increment step error in for loop is not propogated to outer scope

git-svn-id: svn://irodssvn.ucsd.edu/trunk@5618 ea137bd6-aa86-47b6-b90d-b101d9f19a90
fix: the loop condition error in for loop is not propogated to outer scope

git-svn-id: svn://irodssvn.ucsd.edu/trunk@5619 ea137bd6-aa86-47b6-b90d-b101d9f19a90