diff --git a/ActiveSync/SOGoActiveSyncDispatcher.m b/ActiveSync/SOGoActiveSyncDispatcher.m
index 68f5117..8bd7333 100644
--- a/ActiveSync/SOGoActiveSyncDispatcher.m
+++ b/ActiveSync/SOGoActiveSyncDispatcher.m
@@ -1165,6 +1165,7 @@ NSLog(@"tfu blocked %@", [[[context activeUser] domainDefaults] blockedDeviceTyp
                      command_count++;
                    }
                  [o destroy];
+                 continue;
                }
 
              // Remove the folder from device if it is a contact folder and we have no SOGoRole_ObjectViewer.
@@ -1316,6 +1317,7 @@ NSLog(@"tfu blocked %@", [[[context activeUser] domainDefaults] blockedDeviceTyp
            ![currentFolder synchronize])
          {
            [folders removeObjectAtIndex: count];
+           continue;
          }
 
        // Remove the folder from the device if it is a contact folder and we have no SOGoRole_ObjectViewer access right.
