Fix handling of empty tag option.