diff --git a/membersuite_api_client/memberships/services.py b/membersuite_api_client/memberships/services.py
index <HASH>..<HASH> 100644
--- a/membersuite_api_client/memberships/services.py
+++ b/membersuite_api_client/memberships/services.py
@@ -90,7 +90,7 @@ class MembershipService(object):
 
             # Check if the queryset was completely full. If so, there may be
             # More results we need to query
-            if len(new_results) >= limit_to and depth < max_depth:
+            if len(new_results) >= limit_to and not depth == max_depth:
                 new_results = self.get_all_memberships(
                     since_when=since_when,
                     results=new_results,
Membership Recursion Fix

Same problem we had with organizations where the logic for recursion was
always returning False due to max_depth having NoneType.