Fix ICE after incorrect number of args in calls

Actually a trivial fix. Fixes the issue #4935.