diff --git a/master/buildbot/data/resultspec.py b/master/buildbot/data/resultspec.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/data/resultspec.py
+++ b/master/buildbot/data/resultspec.py
@@ -152,14 +152,14 @@ class NoneComparator:
     def __ne__(self, other):
         return self.value != other.value
 
-    def __gt_(self, other):
+    def __gt__(self, other):
         if self.value is None and other.value is None:
             return False
         elif self.value is None:
             return False
         elif other.value is None:
             return True
-        return self.value < other.value
+        return self.value > other.value
 
 
 class ReverseComparator:
data: Fix __gt__() comparison operator in NoneComparator