Check arg count before attempting to access it.