Fix ICE after incorrect number of args in calls

Actually a trivial fix. Fixes an issue #4935.