Fix bug where lack of argument didn't cause an error.