db/proxy: support empty values in VisitUniqueTags()

Workaround for assertion failure in PrintUniqueTag().