FAIMS-50: fixing bug where sync fails if record saved at time of sync