minor fix in handling sync delete in DataManager