Handle nil arguments to do_static()

Fixes #202