Corrected one check in SyncManager and now everything seems to be working