diff --git a/corpus2tools/tagset-tool.cpp b/corpus2tools/tagset-tool.cpp
index e283d40cf7c500351f6581c99bf79da5e19deff9..f20389e9749ffc5f427ae660721da8e1441bfa7e 100644
--- a/corpus2tools/tagset-tool.cpp
+++ b/corpus2tools/tagset-tool.cpp
@@ -126,7 +126,7 @@ void tagset_query_cb(const Corpus2::Tagset& tagset, const std::string& s,
 			}
 		}
 		std::cout << "\n";
-	} else if (atr > 0) {
+	} else if (atr >= 0) {
 		if (internals) {
 			std::cout << tagset.get_attribute_mask(atr) << " (" << (int)atr << ")\n";
 		}