Deleted the offending lines "index = index + 1" when .status$ = "rejected".
Merge pull request #6 from marybeckman/master

Deleted the offending lines "index = index + 1" when .status$ = "rejected".