Fixed a bug that did not mark new items as locally updated (and so they were no uploaded)