Fixed bug that caused argument list passed in to be modified.