Fix distributed sync when no record is present yet.