Fix errors for unexpected unflagged options