Avoid passing positional args to function twice

If a function accepts both positional and variable length arguments,
then it was possible that a positional argument would be passed to the
function twice. Once as a positional and once as a keyword argument.