Fixed bug detecting missing arguments.