BugFix: checkArg lower and upper bounds only checking first argument of vector

Fixed