Fixed dumb bug which caused positional parameters to be recorded by their string index, not parameter index.