FAIMS-792: fixed bug with updating sync status when file sync is enabled