diff --git a/staff/models.py b/staff/models.py
index <HASH>..<HASH> 100644
--- a/staff/models.py
+++ b/staff/models.py
@@ -53,7 +53,7 @@ class StaffMember(models.Model):
         Makes sure the User field is in sync with the values here
         """
         theslug = slugify('%s %s' % (self.first_name, self.last_name))
-        while StaffMember.objects.filter(slug=theslug,id__ne=self.id).count():
+        while StaffMember.objects.filter(slug=theslug).exclude(id=self.id).count():
             theslug = "%s_" % theslug
         if self.slug != theslug:
             self.slug = theslug
Excluded the id field if it is equal to the current staff object