Good triage, @cmather. That would definitely explain it.

Another way is maybe to check length of `arguments`. I think I should leave the implementation of this up to you, though: I'm not really an expert with this code.