Ensure at least one argument before checking its type, fixes #425