diff --git a/src/common/contacts.py b/src/common/contacts.py
index b98a8906d816d7a194a6f8fbeb842de413f44a63..ae2f367c993469947419241b6867bc5795783791 100644
--- a/src/common/contacts.py
+++ b/src/common/contacts.py
@@ -316,8 +316,8 @@ class Contacts:
 		score = priority*10000
 		if not common.gajim.jid_is_transport(jid):
 			score += contact.priority*10
-		score += ['error', 'offline', 'invisible', 'dnd', 'xa', 'away', 'chat',
-			'online'].index(contact.show)
+		score += ['not in roster', 'error', 'offline', 'invisible', 'dnd', 'xa',
+			'away', 'chat', 'online'].index(contact.show)
 		return score
 
 	def get_metacontacts_big_brother(self, family):