invariant: fix max argument count

This should prevent once in a blue moon errors regarding argument count. Also makes the function arguments look a little less odd, haha. Any performance hits related to the `arguments`, as far as I'm aware of, are extremely negligible.