Fixes #2707

When the first variable argument = null, but there are more arguments given.
Added testcases to show the change (to fail before the fix)